package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: taobao.omniorder.dtd.query response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class OmniorderDtdQueryResponse extends TaobaoResponse {

	private static final long serialVersionUID = 4237169756112789189L;

	/** 
	 * data
	 */
	@ApiField("data")
	private Door2doorQueryResult data;

	/** 
	 * 错误信息
	 */
	@ApiField("message")
	private String message;

	/** 
	 * 错误码，为0表示成功，非0表示失败
	 */
	@ApiField("result_code")
	private String resultCode;


	public void setData(Door2doorQueryResult data) {
		this.data = data;
	}
	public Door2doorQueryResult getData( ) {
		return this.data;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	public String getMessage( ) {
		return this.message;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}
	public String getResultCode( ) {
		return this.resultCode;
	}
	
	/**
 * data
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class Door2doorQueryResult extends TaobaoObject {

	private static final long serialVersionUID = 5793212418167254673L;

	/**
		 * 码对应的淘宝主订单ID
		 */
		@ApiField("main_order_id")
		private Long mainOrderId;
	

	public Long getMainOrderId() {
			return this.mainOrderId;
		}
		public void setMainOrderId(Long mainOrderId) {
			this.mainOrderId = mainOrderId;
		}

}



}
